<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="/static/extjs/css/style.css" rel="stylesheet" type="text/css" />
<?#include "headShare.html";#?>
	<script>var GLang = <?#=json_encode($js);#?></script>
	<script>var GZone = <?#=json_encode($zones);#?></script>
	<script>var GSlng = <?#=json_encode($slang);#?></script>
	<script src="/static/extjs/js/main.ext.js" type="text/javascript"></script>
	<title><?#=$lang['20003'];?></title>
    <script language="javascript">
    Ext.onReady(function(){
    	Ext.QuickTips.init();
    	Ext.BLANK_IMAGE_URL = "/static/extjs/images/s.gif";
    	Ext.STATIC_URL      = "<?#=$staticuri;?>";
    	main.menuLoader.Url = "/admin/sidenav.html";
    	main.menuLoader.PID = "<?#=$menu[0]['id'];?>";
    	main.viewport = new Ext.Viewport({
    		layout: 'border',
    		items: [main.header, main.navmenu, main.workspace]
    	});
    	main.loadMenu(main.menuLoader.PID);
    	main.openView('/admin/myself/main.html');
    });
    </script>
</head>
<body>
	<div id="TopBanner">
	    <span class="logo"></span>
	    <span class="system-tray"><a href="/admin/login.html" title="<?#=$lang['20005'];?>" id="system-tray-logout"><img class="icon icon-power-down" src="/static/extjs/images/s.gif"></a></span>
	    <span class="sayhello"><?#=$nick;?>，<?#=$lang['20009'];?>| <a href="javascript:void(0);"><font color="white"><?#=$lang['20006'];?></font></a> </span>
	    <span class="version"><?#=$lang['20007'];?></span>
	    <span class="description"><?#=$lang['20003'];?></span>
	    <div id="MenuBar-Box">
	    <div id="MenuBarLeft"></div>
	    <div id="MenuBarRight"></div>
	   <ul id="MenuBar">
	   <?#foreach($menu as $item){?>
		<li>
			<a href="javascript:;" onclick="main.loadMenu(<?#=$item['id'];?>);" class="menu-icon <?#=$item['icon'];?>"><?#=$item['title'];?>&nbsp;</a>
		</li>
	  <?#}?>
	  </ul>
	    </div>
	</div>
</body>
</html>